package org.hang.gift.dto;

import lombok.Data;

import javax.validation.constraints.Min;

/**
 * 新增购物车
 */
@Data
public class AddShopCarDTO {

    private Long skuId;

    @Min(value = 1)
    private Integer num;    // 添加数量

    private Long userId = 16L;
    private String username = "zhangsan";   // 这两个参数先写死
}
